qtbase-opensource-src.git
5 years agocall pkgconfig in order to be able to cross build qtbase with MySql.
Helmut Grohne [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff

5 years agoLimit Linux-only code with Q_OS_LINUX
Pino Toscano [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Limit Linux-only code with Q_OS_LINUX

Forwarded: no
Last-Update: 2020-04-19

The QStorageInfo/QStorageIterator implementation used for Linux is used also
on Hurd, as it uses an interface provided by GNU libc.
QStorageIterator::device() tries to use PATH_MAX (unavailable on the Hurd)
to lookup a /dev/block/ path, which exists on Linux only; hence, perform that
check within a Q_OS_LINUX block.

Gbp-Pq: Name qstorageinfo_linux.diff

5 years agoAvoid unconditional PATH_MAX usage
Pino Toscano [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Avoid unconditional PATH_MAX usage

Forwarded: no
Last-Update: 2020-04-19

Use a "safe" size in case PATH_MAX is not defined; in the end, this should not
be used, as a allocating realpath() will be used instead.

Gbp-Pq: Name path_max.diff

5 years agopass default include directories to qdoc
Martin Smith [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
pass default include directories to qdoc

Bug: https://bugs.debian.org/908328
Forwarded: no
Last-Update: 2020-01-28

Gbp-Pq: Name qdoc_default_incdirs.diff

5 years agoguard UTIME_NOW/UTIME_OMIT usages
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
guard UTIME_NOW/UTIME_OMIT usages

Forwarded: no
Last-Update: 2018-02-22

Gbp-Pq: Name nonlinux_utime.diff

5 years agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

5 years agocatch linker warnings in some config tests
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
catch linker warnings in some config tests

Forwarded: https://codereview.qt-project.org/163214 (rejected)
Bug: https://bugs.debian.org/827935
Last-Update: 2019-03-02

Without this, qmake wrongly thinks that the tests succeed, for example:

./config.tests/unix/futimens/futimens.cpp:44: warning: futimens is not implemented and will always fail
test config.corelib.tests.futimens succeeded

Gbp-Pq: Name gnukfreebsd_linker_warnings.diff

5 years agobuild ibase sql plugin against firebird
Fathi Boudra [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
build ibase sql plugin against firebird

Forwarded: no
Last-Update: 2017-06-30

Gbp-Pq: Name link_fbclient.diff

5 years agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 years agodisable htmlinfo example which contains non-free files
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
disable htmlinfo example which contains non-free files

Forwarded: not-needed
Last-Update: 2014-12-17

Gbp-Pq: Name no_htmlinfo_example.diff

5 years agoInitial GNU/kFreeBSD support
Pino Toscano [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Initial GNU/kFreeBSD support

Last-Update: 2015-06-03
Forwarded: no

- add a gnukfreebsd-g++ qmake mkspec, mostly copied from the hurd-g++ one
- properly use LD_LIBRARY_PATH on GNU/* systems

Gbp-Pq: Name gnukfreebsd.diff

5 years agoemit QScreen::geometryChanged when the logical DPI changes
Debian Qt/KDE Maintainers [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
emit QScreen::geometryChanged when the logical DPI changes

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5c7307775d32ae0a
Last-Update: 2020-09-30

Add the missing call to QScreenPrivate::emitGeometryChangeSignals()
along with an emission of physicalDotsPerInchChanged()
since that is calculated from geometry and physical size.

Rearrange the code in
QGuiApplicationPrivate::processScreenGeometryChange()
to prevent duplicate emissions of geometryChanged(),
physicalDotsPerInchChanged() which this change would introduce.

Gbp-Pq: Name emit_geometry_changed.diff

5 years agoqtbase-opensource-src (5.15.1+dfsg-2) unstable; urgency=medium
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
qtbase-opensource-src (5.15.1+dfsg-2) unstable; urgency=medium

  [ Dmitry Shachnev ]
  * Backport upstream patch to fix multiscreen-related regression that
    affects Plasma.
  * Update debian/libqt5core5a.symbols from buildds’ logs.
  * Upload to unstable.

  [ Lisandro Damián Nicanor Pérez Meyer ]
  * Apply cross_build_mysql.diff to get closer to cross building on a Debian
    environment. Thanks Helmut Grohne for the patch! (Closes: #971604).
  * Remove qt5-default. Nowadays it's not needed as Qt 5 is the only Qt version
    in Debian and it brought more problems than solutions.

  [ Helmut Grohne ]
  * qmake cross wrapper: Allow passing -qt5. (Closes: #972640)

[dgit import unpatched qtbase-opensource-src 5.15.1+dfsg-2]

5 years agoImport qtbase-opensource-src_5.15.1+dfsg-2.debian.tar.xz
Dmitry Shachnev [Wed, 28 Oct 2020 18:53:04 +0000 (18:53 +0000)]
Import qtbase-opensource-src_5.15.1+dfsg-2.debian.tar.xz

[dgit import tarball qtbase-opensource-src 5.15.1+dfsg-2 qtbase-opensource-src_5.15.1+dfsg-2.debian.tar.xz]

5 years agoImport qtbase-opensource-src_5.15.1+dfsg.orig.tar.xz
Dmitry Shachnev [Thu, 10 Sep 2020 11:41:18 +0000 (12:41 +0100)]
Import qtbase-opensource-src_5.15.1+dfsg.orig.tar.xz

[dgit import orig qtbase-opensource-src_5.15.1+dfsg.orig.tar.xz]